package com.yuehuanghun.admin.core.domain;

import javax.persistence.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;

import lombok.Data;

/**
 * 角色和菜单关联 sys_role_menu
 * 
 * @author yadmin
 */
@Entity
@Data
public class SysRoleMenu
{
    /** 角色ID */
	@JsonFormat(shape = Shape.STRING)
    private Long roleId;
    
    /** 菜单ID */
	@JsonFormat(shape = Shape.STRING)
    private Long menuId;
}
